set title "Figure 4, Power vs. Maxthresh" 

set ylabel "Throughput/Delay (Mbps/seconds)"
set xlabel "maxthresh"
set xrange [0:15]
set yrange [0:40000]
unset label

set terminal jpeg

plot "figure2.dat" using 1:4 title 'RED' with linespoints
set output "figure4_ratio.jpg"
replot

